//
// Created by guoshunw on 3/19/2021.
//

#ifndef AVSTUDY_INTVEC_H
#define AVSTUDY_INTVEC_H

#include <cstdio>
#include "Log.h"

#define logM(fmt, ...) logDebug("@%p-> " fmt , this , ##__VA_ARGS__)

class IntVec {
public:
    IntVec();

    explicit IntVec(size_t size);

    IntVec(const IntVec &other);

    virtual ~IntVec();

    IntVec &operator=(const IntVec &other);

//    IntVec &operator=(IntVec &&other) noexcept;

private:
    size_t _size = 0;
    int *_data = nullptr;
};


#endif //AVSTUDY_INTVEC_H
